/**
 * @file column model
 * @author fanxingguang
 *
 * 2016-06-07
 */

var mongoose = require('mongoose');
var columnSchema = new mongoose.Schema({
    name: String,
    type: String,
    content: String,
    parentId: String,
    updateDate: Date,
    createDate: Date
});

module.exports = mongoose.model('columns', columnSchema);
